<style lang="scss">
	/*每个页面公共css */
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
</style>
<script>
	import api from '@/api/index.js'
	import { mapActions } from "vuex";

	export default {
		methods: {
			...mapActions({
				initApp: "app/initApp"
			})
		},
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			this.initApp()			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

